Skip to content

Pin llama.cpp b8d587e: load Hadamard-folded weights (Ternary Bonsai) - #247

Closed
bong-water-water-bong wants to merge 1 commit into
mainfrom
pin/llama-b8d587e
Closed

bong-water-water-bong wants to merge 1 commit into
mainfrom
pin/llama-b8d587e

Conversation

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator

Moves third_party/llama.cpp from acf9c74 to b8d587e (fork #34):

  • The loader reads prism.hadamard.* keys and rotates activations before folded weights, with the inverse on token_embd.
  • Ternary-Bonsai-2-27B now computes correct output on HRX0: PPL 10.171 at 15 chunks, against 10.142 for PrismML's F16 on CPU.
  • The code is in src/llama-hadamard.{h,cpp}, which carries the MIT notice of the PrismML code it follows; upstream files get hook lines only.

Registry regenerated for the new pin (counts unchanged).

Checked on strixhalo: b8d587e builds with GGML_HRX (amdclang, Ninja). The HRX0 perplexity check (ZAYA1-8B and Qwen3-0.6B, new pin vs acf9c74) is queued behind the shared GPU lock; results will be posted here before merge.

🤖 Generated with Claude Code

Fork #34: the loader reads prism.hadamard.* keys and rotates activations
before folded weights, so Ternary-Bonsai-2-27B computes correct output on
HRX0. Registry regenerated for the new pin.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@context7

context7 Bot commented Sep 30, 2026

Copy link
Copy Markdown

Docs7 for 1bit-monster/engine

Result Status Action
Deployment ➖ Not used —
Content review ➖ Did not run. This site has no agent runs available this month. Wait for the monthly reset or check your Docs7 plan. —

Commit eb5839f

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator Author

Superseded by #248, which carries the same pin (b8d587e) plus the converter and the prism.hadamard route. I pushed this PR's regenerated registry there (afbfaa8). The HRX0 perplexity check of the new pin will be posted on #248.

@bong-water-water-bong
bong-water-water-bong deleted the pin/llama-b8d587e branch September 30, 2026 09:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant